/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.messages.server.inGame;
import core.messages.Msg_One;
import cstAndEnum.JUDGE_TYPE;

/**
 * 服务端发送，判定结果
 * @author Invince
 */
public class Msg_Judge_Result extends Msg_One{
/*----------Attributs-------------------*/
    /**
     * 表示判定是否过了
     */
    protected boolean passed;
    /**
     * 判定的类型
     */
    protected JUDGE_TYPE judgeType;
/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public Msg_Judge_Result(String sender, String receiver,boolean passed,JUDGE_TYPE judgeType) {
        super(sender, receiver);
        this.passed=passed;
        this.judgeType=judgeType;
    }
    
/*----------Gets and sets---------------*/
    public boolean isPassed() {
        return passed;
    }

    public void setPassed(boolean passed) {
        this.passed = passed;
    }

    public JUDGE_TYPE getJudgeType() {
        return judgeType;
    }

    public void setJudgeType(JUDGE_TYPE judgeType) {
        this.judgeType = judgeType;
    }

}
